package com.easondongh.system.service;

import com.easondongh.system.domain.SysLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easondongh.common.vo.BasePageQueryVo;
import com.easondongh.system.vo.LogQueryVo;
import com.easondongh.common.vo.PageResult;

import java.util.List;

/**
 * @author EasonDongH
 * @date 2020/4/30 11:08
 */
public interface SysLogService extends IService<SysLog> {

    /**
     * 根据查询条件获取日志记录
     * @return
     */
    PageResult<SysLog> getByPage(BasePageQueryVo<LogQueryVo> queryCondition);

    /**
     * 根据id集合删除日志
     * @param ids
     */
    Boolean deleteByIds(List<Integer> ids);
}

